/*
 * @Author: xiawei 1243162387@qq.com
 * @Date: 2024-05-10 19:03:07
 * @LastEditors: xiawei 1243162387@qq.com
 * @LastEditTime: 2024-05-10 19:03:15
 */
import { faker } from '@faker-js/faker';
const getTableList = (length = 50) => {
    const list = [];
    for (let index = 0; index < length; index++) {
      list.push( {
        id: faker.string.uuid(),
        startDate: faker.date.past(),
        endDate: faker.date.past(),
        name: faker.internet.userName(),
        state: faker.location.country(),
        city: faker.location.city(),
        address: faker.location.streetAddress(),
        zip: faker.location.zipCode(),
      });   
    }
    return list
  }

  export {
    getTableList
  }